package com.vvlhw.pptmall.product.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.vvlhw.common.utils.PageUtils;
import com.vvlhw.common.utils.Query;

import com.vvlhw.pptmall.product.dao.GoodImagesDao;
import com.vvlhw.pptmall.product.entity.GoodImagesEntity;
import com.vvlhw.pptmall.product.service.GoodImagesService;


@Service("goodImagesService")
public class GoodImagesServiceImpl extends ServiceImpl<GoodImagesDao, GoodImagesEntity> implements GoodImagesService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<GoodImagesEntity> page = this.page(
                new Query<GoodImagesEntity>().getPage(params),
                new QueryWrapper<GoodImagesEntity>()
        );

        return new PageUtils(page);
    }

}